package com.cw2.creatation.builder.simplebuilder;

public class XiaoMiPhone extends AbstractBuilder{

    public XiaoMiPhone() {
        phone = new Phone();
    }

    @Override
    void setCpu(String cpu) {
        phone.cpu = cpu;
    }

    @Override
    void setMem(String mem) {
        phone.mem = mem;
    }

    @Override
    void setDisk(String disk) {
        phone.disk = disk;
    }

    @Override
    void setCam(String cam) {
        phone.cam = cam;
    }
}
